<template>
  <div class="prompt">
    <p class="info">{{prompt_msg}}</p>
  </div>
</template>
<script>
export default {
  props: ["prompt_msg"]
};
</script>
<style lang="scss" scoped>
.prompt {
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 5rem;
  text-align: center;
  p.info {
    border-radius: 0.2rem;
    padding: 0.2rem 0.4rem;
    background-color: rgba($color: #000000, $alpha: 0.8);
    display: inline-block;
    max-width: 50%;
    margin: auto;
    text-align: center;
    font-size: 0.32rem;
    color: #fff;
  }
}
</style>